package com.dengpp.pdform.model;

import java.io.Serializable;
import java.util.List;

// 多级选项数据模型
public class CascadingOption implements Serializable {
    private String value;
    private String label;
    private List<CascadingOption> children;
    // 必须有无参构造函数
    public CascadingOption() {}
    public CascadingOption(String value, String label) {
        this.value = value;
        this.label = label;
    }

    // getter 和 setter 方法
    public String getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }

    public List<CascadingOption> getChildren() {
        return children;
    }

    public CascadingOption setChildren(List<CascadingOption> children) {
        this.children = children;
        return this;
    }
}
